﻿<controls:ChildWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" x:Class="Lottery.Client.SL.Controls.ConfirmBetting" 
    Style="{StaticResource ChildWindowStyle_ConfirmWindow}" Title="确认投注">

    <Grid x:Name="LayoutRoot" Margin="2" Width="240" Height="250">
        <Grid x:Name="gridBet">
            <TextBlock HorizontalAlignment="Left" Height="16" Margin="16,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="260" Foreground="#FFC4C4C4" FontSize="14"><Run Text="您正在认购 "/><Run x:Name="rnLotteryName">
        			<Run.Foreground>
        				<SolidColorBrush Color="#FFF30000">
        					<SolidColorBrush.RelativeTransform>
        						<MatrixTransform Matrix="Identity"/>
        					</SolidColorBrush.RelativeTransform>
        					<SolidColorBrush.Transform>
        						<MatrixTransform Matrix="Identity"/>
        					</SolidColorBrush.Transform>
        				</SolidColorBrush>
        			</Run.Foreground>
        		</Run><Run Text=" 方案"/></TextBlock>
            <TextBlock HorizontalAlignment="Left" Height="16" Margin="34,40,0,0" TextWrapping="Wrap" Text="注    数:" VerticalAlignment="Top" Width="59" Foreground="#FFC4C4C4" FontSize="12"/>
            <TextBlock HorizontalAlignment="Left" Height="16" Margin="34,70,0,0" TextWrapping="Wrap" Text="倍    数:" VerticalAlignment="Top" Width="59" Foreground="#FFC4C4C4" FontSize="12"/>
            <TextBlock HorizontalAlignment="Left" Height="16" Margin="34,100,0,0" TextWrapping="Wrap" Text="投注总额:" VerticalAlignment="Top" Width="59" Foreground="#FFC4C4C4" FontSize="12"/>
            <TextBlock HorizontalAlignment="Left" Height="16" Margin="34,130,0,0" TextWrapping="Wrap" Text="玩法类型:" VerticalAlignment="Top" Width="59" Foreground="#FFC4C4C4" FontSize="12"/>
            <TextBlock x:Name="tbInvestNum" TextAlignment="Right" Height="16" Margin="100,40,45,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="White" FontSize="12"/>
            <TextBlock x:Name="tbMultiple" TextAlignment="Right" Height="16" Margin="100,70,45,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="White" FontSize="12"/>
            <TextBlock x:Name="tbSumMoney" TextAlignment="Right" Height="16" Margin="100,100,45,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="#FF77FF1E" FontSize="12"/>
            <TextBlock x:Name="tbPlayTypeName" TextAlignment="Right" Height="16" Margin="100,130,45,0" TextWrapping="Wrap" VerticalAlignment="Top" Foreground="White" FontSize="12"/>
            <TextBlock  TextAlignment="Center" Height="16" Margin="0,0,4,58" TextWrapping="Wrap" Text=" 为避免争议,请详细检查您的投注信息！" VerticalAlignment="Bottom" Foreground="#FF77FF1E" FontSize="12"/>
            <TextBlock  TextAlignment="Center" Height="16" Margin="0,0,4,80" TextWrapping="Wrap" Text=" 请注意:本平台没有撤单功能！" VerticalAlignment="Bottom" Foreground="#FF77FF1E" FontSize="12"/>
            <Rectangle Fill="#FF373737" Height="1" Margin="5,0,5,54" VerticalAlignment="Bottom" StrokeThickness="0" Width="240"/>
            <Rectangle Fill="#FF1F1F1F" Height="1" Margin="5,0,5,55" VerticalAlignment="Bottom" StrokeThickness="0" Width="240"/>
            <Button x:Name="btnPost" Content="提 交" Height="23" HorizontalAlignment="Left" Margin="62,210,0,0" Style="{StaticResource buttonStyle0}" VerticalAlignment="Top" Width="75" Click="btnPost_Click" />
            <Button x:Name="btnCancel" Content="取 消" Height="23" HorizontalAlignment="Left" Margin="153,210,0,0" Style="{StaticResource buttonStyle0}" VerticalAlignment="Top" Width="75" Click="btnCancel_Click" />
        </Grid>
        <Grid x:Name="gridLoading">
            <Border x:Name="border_Processing" VerticalAlignment="Center" BorderBrush="White" BorderThickness="1" HorizontalAlignment="Center" Background="#FF323232" CornerRadius="2">
                <StackPanel Margin="5">
                    <TextBlock x:Name="lbWaiting" TextWrapping="Wrap" Foreground="#FFB7B7B7" Margin="5" HorizontalAlignment="Center"/>
                    <ProgressBar x:Name="progressBarLoading" Height="10" Width="150" IsIndeterminate="True"/>
                </StackPanel>
            </Border>
        </Grid>
        <Grid x:Name="gridComplete">
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Border BorderBrush="White" BorderThickness="1" Background="#FF323232" CornerRadius="2" VerticalAlignment="Center" HorizontalAlignment="Center" Width="200">
                <TextBlock Margin="10" x:Name="lbMsg" Text="返回信息" Foreground="Lime" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            </Border>
            <Button x:Name="btClose" Width="75" Content="关闭" Grid.Row="1" Foreground="White" Style="{StaticResource buttonStyle0}" Height="23" />
        </Grid>
    </Grid>
    </controls:ChildWindow>
